package com.bst.bsj.common.dal.daointerface;

import java.util.List;
import java.util.Map;

import com.bst.bsj.common.dal.dataobject.SeedlingModelParams;
import com.sylinxsoft.tools.dao.CommonBaseDAO;

public interface SeedlingModelParamsDAO extends CommonBaseDAO {
  /*
   *总条数，条件查询
   */
  public Long getCounts(Map paramMap);

  /*
   * 分页查询
   */
  public List<SeedlingModelParams> selectAll(Map paramMap, Long offset, Long length);

  /*
   * 根据ID查询对象
   */
  public SeedlingModelParams getSeedlingModelParams(Long id);

  /*
   * 根据id集合查询所有对象
   */
  public List<SeedlingModelParams> selectNamesAll(String ids);

  /*
   * 查询所有对象
   */
  public List<SeedlingModelParams> getAll();

  /*
   *更新
   */
  public int update(SeedlingModelParams seedlingModelParams);

  /*
   *增加
   */
  public Long insert(SeedlingModelParams seedlingModelParams);

  /*
   *删除
   */
  public int delete(Long id);

  /*
   * 
   */
  public SeedlingModelParams getExsit(String name);
  
}
